IAWP\View A

Total Complexity 61
Dependencies 9
Dependents 1
Total lines 273
Lines of code 219
Logical lines of code 157
Comment lines 24
Methods 20
Properties 7

Methods 20

Method Rating Maintainability Complexity Lines of code
fetch_resource()
A
45 11 41
get_campaign()
A
51 10 24
fetch_or_create_session()
S
60 5 13
link_with_previous_view()
S
56 4 16
fetch_or_create_referrer()
S
60 4 11
__construct()
S
59 3 14
fetch_or_create_city()
S
59 3 13
fetch_last_viewed_resource()
S
60 3 13
fetch_or_create_country()
S
59 3 12
fetch_or_create_resource()
S
59 2 14
strip_www()
S
70 2 6
fetch_referrer()
S
64 2 8
is_internal_referrer()
S
77 2 3
create_view()
S
72 1 4
create_session()
S
70 1 4
set_sessions_final_view()
S
70 1 5
set_sessions_initial_view()
S
71 1 5
set_session_total_views()
S
68 1 6
viewed_at()
S
80 1 3
get_current_session()
S
73 1 4